#ifndef AED_SOUND_H
#define AED_SOUND_H

#include <QString>
#include <QDomDocument>

class AED_Sound
{
    QString	        m_name;
    QString         m_path;

public:
    AED_Sound();
    AED_Sound(const AED_Sound& sound);

    AED_Sound& operator=(const AED_Sound& sound);
    bool operator==(const AED_Sound&sound){if(sound.m_path==m_path)return true;return false;}

    void Load(const QString path);
    QString GetPath();
    QString GetName();
    void SetPath(const QString &path);
    void Save(QDomDocument &doc, QDomElement &header);
};

#endif // AED_SOUND_H
